package com.link2room.ironhide.facade;


import com.link2room.common.jpa.result.QueryResult;
import com.link2room.ironhide.dto.param.manager.HotelsManagerParamDto;
import com.link2room.ironhide.dto.result.manager.HotelInfoDto;

/**
 * Created by sss on 2016/9/8.
 */
public interface IHotelManagerFacadeService {

    /**
     * 获得酒店列表
     * @param hotelsManagerParamDto
     * @return
     * @throws Exception
     */
    QueryResult<HotelInfoDto> getHotelBaseInfoList(HotelsManagerParamDto hotelsManagerParamDto) throws Exception;

    void saveOrUpdateHotelBaseInfoDetail(HotelsManagerParamDto hotelsManagerParamDto)throws Exception;

    /**
     * 保存或更新酒店
     * @param hotelsManagerParamDto
     * @throws Exception
     */
    void saveOrUpdateHotelBaseInfo(HotelsManagerParamDto hotelsManagerParamDto)throws Exception;


    /**
     * 获得酒店基础详情
     * @param hotelsManagerParamDto
     * @return
     * @throws Exception
     */
    HotelInfoDto getHotelBaseInfo(HotelsManagerParamDto hotelsManagerParamDto)throws Exception;

    void checkHotelCode(HotelsManagerParamDto hotelsManagerParamDto)throws Exception;
}
